package com.event.system.service.impl;

import com.event.system.domain.SysEvent;
import com.event.system.mapper.SysEventMapper;
import com.event.system.service.ISysEventService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SysEventServiceImpl implements ISysEventService {

    @Autowired
    private SysEventMapper mapper;


    /**
     * 根据条件分页查询首页信息
     *
     * @param sysEvent
     * @return
     */
    @Override
    public List<SysEvent> selectSysEventList(SysEvent sysEvent) {
        return mapper.selectSysEventList(sysEvent);
    }

    /**
     * 根据条件分页查询首页信息
     *
     * @param sysEvent
     * @return
     */
    @Override
    public List<SysEvent> selectSysEventByList(SysEvent sysEvent) {
        return mapper.selectSysEventByList(sysEvent);
    }
}
